package com.zxmr.domain;


public class Host extends Domain{

	public final static String component_dir_win = "C:/Program Files/";
	public final static String component_dir_unix = "/sn/sps/";
	public final static String client_dir_win="C:/Program Files/ZXMRClient/";
	public final static String client_dir_unix="/sn/sps/ZXMRClient/";
	

	String name;
	

	String ip;
	

	String ftpuser;
	

	String ftppass;
	

	OS os;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	
	public String getFtpuser() {
		return ftpuser;
	}
	public void setFtpuser(String ftpuser) {
		this.ftpuser = ftpuser;
	}
	public String getFtppass() {
		return ftppass;
	}
	public void setFtppass(String ftppass) {
		this.ftppass = ftppass;
	}
	public OS getOs() {
		return os;
	}
	public void setOs(OS os) {
		this.os = os;
	}
	public String getSpaInstallFolder() {
		if(os == OS.Unix)
		{
			return component_dir_unix;
		}else
		{
			return component_dir_win;
		}
	}
	
	
}
